<template>
	<view class="container">
		<!-- 促销项目详情-提交订单 -->
		<view class="container-box">
			<view class="row">
				<text class="label">预约人</text>
				<text class="value">蒙娜丽莎</text>
			</view>
			<view class="divider"></view>
			<view class="row">
				<text class="label">预约人手机号</text>
				<text class="value">188****5505</text>
			</view>
			<view class="divider"></view>
			<view class="row">
				<text class="label">预约时间</text>
				<text class="value highlight">2022-08-03 14:00</text>
			</view>
		</view>
		<view class="make">
			<view class="make-top">
				预约服务
			</view>
			<view class="card-item">
				<image class="card-image" src="../../static/logo.png" alt="Service Image"></image>
				<view class="card-info">
					<view class="card-header">
						<text class="card-title">按摩 脊柱侧弯 正骨调理</text>
						<view class="badge">鲍医师</view>
					</view>
					<view class="card-subtitle">服务时长：60分钟</view>
					<view class="price-info">
						<view class="current-price">
							<text class="_text">￥</text>
							<text class="__text">598</text>
						</view>
						<view class="original-price">¥7176</view>
					</view>
				</view>
			</view>
		</view>
		<view class="money">
			<view class="money-texy">
				订单金额
			</view>
			<view class="current-price">
				<text class="_text">￥</text>
				<text class="__text">598</text>
			</view>
		</view>
		<view class="submit">
			提交订单
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 这里可以定义默认数据
			};
		},
	};
</script>

<style lang="less" scoped>
	.container-box {
		padding: 0 30rpx;
		background-color: #FFFFFF;
	}

	.row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 104rpx;
	}

	.label {
		font-size: 30rpx;
		color: #000000;
		flex: 1;
	}

	.value {
		font-size: 28rpx;
		color: #29292B;
		flex: 1;
		text-align: right;
	}

	.highlight {
		color: #C19C55;
		/* 金色，可根据需要调整 */
	}

	.divider {
		height: 1rpx;
		background-color: #eee;
	}

	.make {
		width: 750rpx;
		height: 364rpx;
		background: #FFFFFF;
		margin-top: 20rpx;
		padding: 0 30rpx;
		margin-bottom: 20rpx;

		.make-top {
			height: 102rpx;
			line-height: 102rpx;
			font-size: 30rpx;
			color: #000000;
			border-bottom: 1rpx solid #eee;
		}

		.card-item {
			display: flex;
			width: 700rpx;
			height: 216rpx;
			background: #F6F7F5;
			border-radius: 20rpx;
			border: 1rpx solid #F2EEEE;
			margin-bottom: 20rpx;
			margin-top: 20rpx;
		}

		.card-image {
			width: 172rpx;
			height: 172rpx;
			border-radius: 15rpx;
			margin-right: 20rpx;
			margin-top: 20rpx;
			margin-left: 22rpx;
		}

		.card-info {
			flex: 1;
		}

		.book {
			position: absolute;
			width: 126rpx;
			height: 58rpx;
			background: #C19C55;
			border-radius: 6rpx;
			font-weight: 400;
			font-size: 28rpx;
			color: #FFFFFF;
			text-align: center;
			line-height: 58rpx;
			bottom: 22rpx;
			right: 20rpx;
		}

		.card-header {
			display: flex;
			align-items: center;
			margin-bottom: 10rpx;
		}

		.card-title {
			height: 28rpx;
			font-family: SourceHanSansCN, SourceHanSansCN;
			font-weight: 500;
			font-size: 28rpx;
			color: #202022;
			line-height: 42rpx;
			text-align: left;
			font-style: normal;
			margin-top: 20rpx;
		}

		.badge {
			height: 34rpx;
			background: linear-gradient(270deg, #FFFFFF 0%, #EAD4B1 100%);
			border-radius: 6rpx;
			font-size: 24rpx;
			color: #9F918B;
			padding-left: 8rpx;
			margin-top: 34rpx;
			margin-left: 10rpx;
		}

		.card-subtitle {
			width: 180rpx;
			height: 22rpx;
			font-family: SourceHanSansCN, SourceHanSansCN;
			font-weight: 400;
			font-size: 22rpx;
			color: #989AA2;
			line-height: 34rpx;
			text-align: left;
			font-style: normal;
			margin-top: 16rpx;
			margin-bottom: 24rpx;
		}

		.price-info {
			display: flex;
			align-items: baseline;
		}

		.current-price {
			margin-right: 10rpx;

			._text {
				font-size: 24rpx;
				color: #C19C55;
				font-weight: 600;
			}

			.__text {
				font-size: 44rpx;
				color: #C19C55;
				font-weight: 600;
			}
		}

		.original-price {
			font-size: 26rpx;
			color: #ccc;
			text-decoration: line-through;
		}
	}
	.money{
		width: 750rpx;
		height: 136rpx;
		background: #FFFFFF;
		display: flex;
		justify-content: space-between;
		line-height: 136rpx;
		padding: 0 34rpx;
		.money-text{
			font-size: 30rpx;
			color: #000000;
		}
		.current-price {
			margin-right: 10rpx;
		
			._text {
				font-size: 24rpx;
				color: #C19C55;
				font-weight: 600;
			}
		
			.__text {
				font-size: 44rpx;
				color: #C19C55;
				font-weight: 600;
			}
		}
	}
	.submit{
		position: absolute;
		bottom: 40rpx;
		width: 750rpx;
		height: 100rpx;
		background: #C19C55;
		box-shadow: 0rpx -4rpx 8rpx 0rpx #F2F2F2;
		font-size: 32rpx;
		color: #FFFFFF;
		line-height: 100rpx;
		text-align: center;
	}
</style>